//
//  TopPayTableViewCell.m
//  cityStar
//
//  Created by Hancong on 14/12/25.
//  Copyright (c) 2014年 tiny. All rights reserved.
//

#import "TopPayTableViewCell.h"

@implementation TopPayTableViewCell

+(CGFloat)heightOfTableCell
{
    return 86;
}

-(void)configWithTotal:(NSString *)number andMoney:(NSString *)money
{
    self.labelTotal.text = [NSString stringWithFormat:@"共计%@件商品",number];
    self.labelMoney.text = [NSString stringWithFormat:@"￥%@",money];
}

-(IBAction)closeCommdity:(id)sender
{
    if ([self.delegate respondsToSelector:@selector(commidityColsedOrtxpend)] == YES) {
        [self.delegate commidityColsedOrtxpend];
    }
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
